package loupan_db

import (
	database "hft/Database"
	"time"
)

type AccountLouPanDb struct {
	ID             uint      `json:"id"`
	Describe       string    `json:"describe"`
	AccountID      uint      `json:"account_id"`
	Amount         uint      `json:"amount"`
	Gain           bool      `json:"gain"`
	OriginalAmount uint      `json:"original_amount"`
	CreateTime     time.Time `json:"create_time"`
	UpdateTime     time.Time `json:"update_time"`
}

func (AccountLouPanDb) TableName() string {
	return database.TableNameFormat("account_core_history")
}
